This is a demo of the PowerBASIC DLL compiler, PB/DLL, running on your own computer.  After the initial introduction, the actual demonstration begins.  This includes 5 benchmarks:

Demo 1 - Array manipulation

Demo 2 - Long Integer Math

Demo 3 - The Sieve of Eratosthenes

Demo 4 - The TAK benchmark

Demo 5 -  Short-circuit evaluation of Boolean expressions

Each of the benchmark tests in this demo works the same way.  Each presents a side-by-side performance comparison between Visual Basic alone, and VB code compiled with PB/DLL, each performing the identical task.  The START button begins execution of each benchmark, and the elapsed time for each case is displayed.  You'll be amazed at the performance difference with machine-code compilation.

On each form, the left column shows the VB results and the right side shows the PB/DLL results.  The Array demo has a 3rd column for an optimized version using  PB/DLL's built-in array manipulation functions (SORT, SCAN, etc.).  On each form, the <Done> button closes the form and returns you to the main screen.  The <Next> button closes the form and takes you to the next demo.  You can run all the benchmarks in sequence by just pressing <ENTER> repeatedly.

In each benchmark test, we tried to choose an appropriate number of iterations to offer a meaningful example on most computers.  If your system is slower or faster than "typical", you may wish to customize them further for your specific needs.  This option is offered at the start of each benchmark.  To choose the default value, just press <ENTER>.

From the Main screen, you can use either the pull-down menus or the command buttons, to access the various parts of the demo.  Using the Main Menu, you have the following choices:

Run

Array demo	Runs the array benchmark

Long Integer demo	Runs the Long Int benchmark

Sieve demo	Runs the Sieve benchmark

TAK benchmark	Runs the TAK benchmark

Short-circuit Evaluation	Runs the compiler optimization benchmark

Exit	Exits the demo (back to Windows)

View

Source code	Shows the VB & PB/DLL source code for the demo

White paper 	Shows the white paper

Direct/32	Shows Direct/32 information

Intro	Shows the intro letter

Press releases	Shows the PB/DLL press releases

Brochure	Shows some promotional material

    Help

Ordering PB/DLL	Shows contact information and lets you print an order form

Running this demo	Shows the file you're currently reading

System Info	Shows system information

About this demo	Shows version and contact information (also lets you print an order form)

  Using the Main screen buttons, you have the following choices:

The White Paper and Order Form are supplied in pre-formatted text files.  This makes it easy to print out a nicely formatted document which is easy to read or fill out.  The completed order form may be mailed, faxed, uploaded to our BBS or e-mailed to us.  You can also call our order desk (see contact information below), or visit our web page on the internet at http://www.powerbasic.com.

Array demo

1) Fills an array with random data.

2) Searches the array for various elements.

3) Sorts the array (in ascending order).

Long Integer demo

Compares the speed of Long Integer math operations ( + - * \ ) in VB and PB/DLL.

Sieve demo

Runs the classic Sieve of Eratosthenes benchmark.

TAK demo

Recursive benchmark that shows PB/DLL's superior number-crunching performance.

Compiler optimization

Shows the effect of short-circuit evaluation of boolean expressions.

From the main menu, you can also view the PB/DLL white paper,  information about our new Direct/32 technology, product press releases, as well as the Visual Basic and PB/DLL source code for this demo.   For more details about the features of PB/DLL and performance comparisons, see the white paper, which presents a technical overview of the product, as well as complete list of keywords supported by the compiler.  This demo also includes an order form that you can print, fill out and mail or Fax to us.  Below is information on how to reach PowerBASIC in case you have any questions or wish to place an order:

PowerBASIC, Inc.

316 Mid Valley Center

Carmel, CA 93923

Order desk: (800) 780-7707

Voice: (408) 659-8000

FAX: (408) 659-8008

BBS: (408) 659-7401

Compuserve: GO POWERBASIC - Section 12

World Wide Web: http://www.powerbasic.com

Internet email: info@powerbasic.com